package com.ftqh.core.web.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "static.resources")
public class StaticResourceProperties {
	
	private String host = "localhost";
	private String port = "8881";

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String getStaticResourceUrl(){
	    return "http://"+host+":"+port;
    }
}
